package com.arellomobile.android.push;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import com.arellomobile.android.push.utils.WorkerTask;
import com.arellomobile.android.push.utils.executor.ExecutorHelper;

public class PackageRemoveReceiver extends BroadcastReceiver
{
  private void sendPackageRemoved(Context paramContext, final String paramString)
  {
    try
    {
      WorkerTask local1 = new WorkerTask(paramContext)
      {
        protected void doWork(Context paramAnonymousContext)
        {
          DeviceFeature2_5.sendAppRemovedData(paramAnonymousContext, paramString);
        }
      };
      ExecutorHelper.executeAsyncTask(local1);
      return;
    }
    catch (Throwable localThrowable)
    {
      DeviceFeature2_5.sendAppRemovedData(paramContext, paramString);
    }
  }

  public void onReceive(Context paramContext, Intent paramIntent)
  {
    if (!"android.intent.action.PACKAGE_REMOVED".equals(paramIntent.getAction()));
    while (true)
    {
      return;
      Uri localUri = paramIntent.getData();
      if (localUri != null);
      for (String str = localUri.getSchemeSpecificPart(); str != null; str = null)
      {
        sendPackageRemoved(paramContext, str);
        return;
      }
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.arellomobile.android.push.PackageRemoveReceiver
 * JD-Core Version:    0.6.2
 */